package com.winchain.chainbill.bill.biz.receive.cmd;

import com.shell.bee.acct.transaction.po.AcctTxRec;
import com.shell.framework.command.CallbackContext;
import com.shell.framework.command.CommandContext;
import com.shell.framework.command.ICallback;
import com.shell.framework.command.ICommand;
import com.winchain.chainbill.bill.base.po.CbRcv;
import com.winchain.chainbill.bill.biz.Bill;
import org.springframework.stereotype.Component;

@Component
public class BillTxCmd implements ICommand<Bill<CbRcv>>, ICallback<Bill<CbRcv>, AcctTxRec> {
	public boolean execute(CommandContext<Bill<CbRcv>> context) throws Exception {
		return false;
	}

	public boolean callback(CallbackContext<Bill<CbRcv>, AcctTxRec> context) throws Exception {
		execute(context);
		return false;
	}
}
